import zhconv
import sys

fr = open(sys.argv[1], mode="r", encoding="utf-8")
fw = open(sys.argv[2], mode="w", encoding="utf-8")

for line in fr:
    fw.write(zhconv.convert(line, "zh-cn"))

fr.close()
fw.close()
